package com.zmc.admin.infrastructure.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 
 * 
 * @author zmc
 * @email 
 * @date 2025-01-25 15:43:56
 */
@Data
@TableName("sys_user_identity")
public class SysUserIdentityEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 真实姓名
	 */
	private String realName;
	/**
	 * 支付账号
	 */
	private String payAccount;
	/**
	 * 营业执照
	 */
	private String busLicense;
	/**
	 * 身份证正面
	 */
	private String cardFront;
	/**
	 * 身份证背面
	 */
	private String cardBack;
	/**
	 * 公司名称
	 */
	private String company;
	/**
	 * 省
	 */
	private String province;
	/**
	 * 省编码
	 */
	private String provinceCode;
	/**
	 * 市
	 */
	private String city;
	/**
	 * 市编码
	 */
	private String cityCode;
	/**
	 * 区
	 */
	private String region;
	/**
	 * 区编码
	 */
	private String regionCode;

	/**
	 *
	 */
	private String postCode;
	/**
	 * 详细地址
	 */
	private String detailAddress;

	private Integer status;

	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	@TableField(value = "create_by")
	private String createBy;

	@TableField(value = "update_time", fill = FieldFill.UPDATE)
	private LocalDateTime updateTime;

	@TableField(value = "update_by")
	private String updateBy;

	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	@TableField(exist = false)
	private String identityStatus;

}
